export const constantRoutes = [
    {
      path: "/login",
      component: () => import("@/views/login/index.vue"),
      name: "login",
      meta: {
        title: "登录",
        hidden: true,
        icon: "Position",
      },
    },
    {
      path: "/404",
      component: () => import("@/views/404/index.vue"),
      name: "404",
      meta: {
        title: "404",
        hidden: true,
        icon: "DocumentDelete",
      },
    },
    {
      path: "/",
      component: () => import("@/layout/index.vue"),
      name: "layout",
      meta: {
        title: "",
        hidden: false,
        icon: "",
      },
      redirect: "/blog",
      children: [
        {
          path: "/blog",
          component: () => import("@/views/blog/index.vue"),
          meta: {
            title: "博客管理",
            hidden: false,
            icon: "HomeFilled",
          },
        },
        
      ],
    },
    {
      path:"/user",
      component: () => import("@/layout/index.vue"),
      meta: {
        title: "用户管理",
        hidden: false,
        icon: "HomeFilled",
      },
    }
  ];